// 特色音乐榜
var content = document.querySelector(".bd-left-ts-xx");
var arr = [{
    img: 'https://imge.kugou.com/stdmusic/20180712/20180712154305100613.jpg',
    bd_left_current: '电音热歌榜',
}, {
    img: 'https://imge.kugou.com/stdmusic/20180621/20180621155507253271.jpg',
    bd_left_current: '影视金曲榜',
},{
    img: 'https://imge.kugou.com/stdmusic/20200609/20200609184322487369.jpg',
    bd_left_current: '酷狗说唱榜',
},{
    img: 'https://imge.kugou.com/stdmusic/20180712/20180712154500997723.jpg',
    bd_left_current: '粤语金曲榜',
}, {
    img: 'https://imge.kugou.com/stdmusic/20180712/20180712154557980729.jpg',
    bd_left_current: '欧美金曲榜',
}, {
    img: 'https://imge.kugou.com/stdmusic/20190402/20190402180217270286.jpg',
    bd_left_current: '小语种热歌榜',
} ]

function render(arr) {
    var str = ''
    arr.forEach(single => {
        str +=
            `
            <li><a href="javascript:;" class="bd_left_current">
                    <span><img src="${single.img}" alt=""></span>
                    ${single.bd_left_current}
                </a></li>
        `
    });
    content.innerHTML = str;
}
var one =document.querySelector('bd_left_current')

render(arr);